package zxzx.controller.AcctBsSgmtDao;


import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.jpa.repository.Query;

import zxzx.controller.pojo.OrigCreditorInfSgmt;


public interface OrigCreditorInfSgmtDao extends JpaRepository<OrigCreditorInfSgmt, Integer> ,JpaSpecificationExecutor<OrigCreditorInfSgmt>{

	@Query(value = "SELECT * FROM zx_orig_creditor_inf_sgmt WHERE id=?1" , nativeQuery=true)
	OrigCreditorInfSgmt findOne(Integer id);

}
